package com.cbs.android.widget.photoview.sample;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.bumptech.glide.Glide;
import com.cbs.android.widget.photoview.PhotoView;


/**
 * Created by brochexu on 4/22/14.
 */
public class MainActivity extends AppCompatActivity {
    private static final String TAG = MainActivity.class.getName();

    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        PhotoView photoView = (PhotoView) findViewById(R.id.imageview);
        Glide.with(this).load("http://7j1wem.com1.z0.glb.clouddn.com/13016840519_1446649356_avatar").into(photoView);
    }
}
